class EventCategoryAdditions < ActiveRecord::Migration
  def self.up
    add_column :events, :additional_service_hours, :float, :default => 0
    add_column :events, :additional_fundraisers, :float, :default => 0
    add_column :events, :additional_flex_points, :float, :default => 0
    add_column :events, :additional_fellowships, :float, :default => 0
    add_column :events, :additional_leaderships, :float, :default => 0
    add_column :events, :additional_ceremonies, :float, :default => 0
    add_column :events, :additional_pledge_meetings, :float, :default => 0
    add_column :events, :additional_active_meetings, :float, :default => 0
    add_column :events, :additional_committee_credits, :float, :default => 0
    add_column :events, :additional_office_hours, :float, :default => 0
  end

  def self.down
    remove_column :events, :additional_service_hours
    remove_column :events, :additional_fundraisers
    remove_column :events, :additional_flex_points
    remove_column :events, :additional_fellowships
    remove_column :events, :additional_leaderships
    remove_column :events, :additional_ceremonies
    remove_column :events, :additional_pledge_meetings
    remove_column :events, :additional_active_meetings
    remove_column :events, :additional_committee_credits
    remove_column :events, :additional_office_hours
  end
end
